 begintownscript;
variables;
short choice,i;

body;
beginstate init_state;
i = 0;
while(char_ok(i) == 0){
	i = i + 1;
}
reset_dialog();
add_dialog_str(0,"When I reached the Gray Road I turned to look back. The church was blazing high into the night sky now, the fire would soon completely consume it.",0);
add_dialog_str(1,"It was a pity that those priests had to get involved in this mess. You know, bounty hunting isn't just about greed and cold-blooded killing. I've brought many an evil man back for justice. I've done some righteous things.",0);
add_dialog_str(2,"But when things like this happen it's hard to see the good in my profession. Sly ripped off some Lord-- big deal-- but Blacken's pride couldn't take it, so now the Church of Compassion was burning to the ground.",0);
add_dialog_str(3,"But as long as men like Blacken value their pride more than the lives of others I'll be willing to take their coin. Let what happens as a result weigh on their consciences.",0);
add_dialog_choice(0,"OK");
choice = run_dialog(1);
message_dialog("I traveled through what little was left of the night and into the morning before reaching Cigosal. There was a long line at the gate-- some fuss about an escaped prisoner. It wasn't of concern to me, I'd pass through easily enough.","");
set_char_dialogue_pic(26,307,0);
set_character_facing(i,0);
force_instant_terrain_redraw();
set_name(26,"Miller");
revive_party();
break;

beginstate exit_state;
break;

beginstate start_state;
break;

beginstate 10;
if(get_flag(202,0) == 0){
	message_dialog("There was a long line of carts waiting to get through the gate. Suddenly my eyes caught on something on the seat of one of the carts that made me come to a halt.","It was a red tunic. I wasn't sure why it made me pause-- but then it hit me. It was the tunic that Sly had been holding when I first saw him. I excitedly approached the cart's owner to question him.");
	set_flag(202,0,1);
}
break;

beginstate 11;
block_entry(1);
message_dialog("Hopefully this was the way Sly had headed-- it was too late to turn back anyhow.","");
break;

beginstate 12;
if(get_flag(202,0) < 2){
	block_entry(1);
	end();
}
if(get_flag(202,1) == 0)
	begin_talk_mode(2);
break;

beginstate 13;
break;


beginstate 14;
if(get_flag(202,3) == 0)
	message_dialog("There are three districts to Cigosal. The Waterfront, Upper Cigosal or the Legal District, and the Housing district-- which was a nice way of saying the slums.","I didn't have any clue as to which way Sly headed, and asking around wasn't likely to yield any useful information. Nobody takes notice of you in Cigosal-- unless they're planning to rob you. An unremarkable man like Sly would go unnoticed in the crowd.");
set_flag(202,3,1);
break;

beginstate 15;
message_dialog("I didn't have a good feeling about the Legal district-- a man like Sly would avoid it like the plague.","");
block_entry(1);
break;

beginstate 16;
message_dialog("The housing district was a possibility, there are plenty of shady dens there that Sly might frequent. Still, my instincts told me that wasn't the right direction.","And I've been in the business long enough to know to trust my instincts.");
block_entry(1);
break;

beginstate 17;
message_dialog("On a hunch, I headed towards the Waterfront. If Sly still had the heirloom in his possession the thriving black market of the waterfront would give him plenty of opportunities to get rid of it.","And if he didn't, there were still plenty of vices at the waterfront that would appeal to a thief. I know his kind-- it's my job.");
set_character_facing(i,2);
move_to_new_town(23,4,26);
//move_to_new_town(3,5,26);
break;

beginstate 100;
block_entry(1);
break;